package com.weitu.train.certificate.entity;

import com.weitu.permission.user.entity.UserDepartment;

import java.io.Serializable;
import java.util.List;

/** 
 * 培训管理模块_证书管理_证书信息表 HSE_TRAIN_CERTIFICATE_INFO
 * @author Sun
 * date 2017/05/12 13:46
 */
public class Certificate implements Serializable {
    //串行版本ID
    private static final long serialVersionUID = 3422204424851625726L;

    // 主键 使用uuid
    private String id;

    // 标识
    private String code;

    // 备注
    private String remarks;

    // 删除标记 0未删除 1 已删除  默认：((0))
    private Integer delState;

    // 添加人
    private String addUserId;

    // 添加人部门Id
    private String addDeptId;

    // 添加时间
    private String addTime;

    // 修改人部门Id
    private String updateDeptId;

    // 最后修改人
    private String updateUserId;

    // 最后修改时间
    private String updateTime;

    // 用户id
    private String userId;

    // 证书名称
    private String name;

    // 证书编号
    private String num;

    // 发证机关
    private String issueAuthority;

    // 发证机关级别(数据字典）
    private String authorityLevelId;

    // 证书类型(数据字典）
    private String certificateTypeId;

    // 发证/复审/换证日期
    private String certificateTime;

    // 是否复审（0否，1是）
    private Integer isReview;

    // 复审周期
    private Integer reviewCycle;

    // 下次复审日期
    private String nextReviewTime;

    // 是否换证（0否，1是）
    private Integer isChanged;

    // 换证周期
    private Integer changedCycle;

    // 下次换证日期
    private String nextChangedTime;

    // 备注
    private String remark;


    //发证机关登记
    private String authorityLevelName;

    //证书类型
    private String certificateTypeName;

    //添加人
    private String addUserName;

    //证书人员
    private String realName;

    //用户编号
    private String userCode;

    //岗位名称
    private String postName;

    //添加单位
    private String addDeptName;

    private List<UserDepartment> userDepartmentList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getDelState() {
        return delState;
    }

    public void setDelState(Integer delState) {
        this.delState = delState;
    }

    public String getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(String addUserId) {
        this.addUserId = addUserId;
    }

    public String getAddDeptId() {
        return addDeptId;
    }

    public void setAddDeptId(String addDeptId) {
        this.addDeptId = addDeptId;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getUpdateDeptId() {
        return updateDeptId;
    }

    public void setUpdateDeptId(String updateDeptId) {
        this.updateDeptId = updateDeptId;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getIssueAuthority() {
        return issueAuthority;
    }

    public void setIssueAuthority(String issueAuthority) {
        this.issueAuthority = issueAuthority;
    }

    public String getAuthorityLevelId() {
        return authorityLevelId;
    }

    public void setAuthorityLevelId(String authorityLevelId) {
        this.authorityLevelId = authorityLevelId;
    }

    public String getCertificateTypeId() {
        return certificateTypeId;
    }

    public void setCertificateTypeId(String certificateTypeId) {
        this.certificateTypeId = certificateTypeId;
    }

    public String getCertificateTime() {
        return certificateTime;
    }

    public void setCertificateTime(String certificateTime) {
        this.certificateTime = certificateTime;
    }

    public Integer getIsReview() {
        return isReview;
    }

    public void setIsReview(Integer isReview) {
        this.isReview = isReview;
    }

    public Integer getReviewCycle() {
        return reviewCycle;
    }

    public void setReviewCycle(Integer reviewCycle) {
        this.reviewCycle = reviewCycle;
    }

    public String getNextReviewTime() {
        return nextReviewTime;
    }

    public void setNextReviewTime(String nextReviewTime) {
        this.nextReviewTime = nextReviewTime;
    }

    public Integer getIsChanged() {
        return isChanged;
    }

    public void setIsChanged(Integer isChanged) {
        this.isChanged = isChanged;
    }

    public Integer getChangedCycle() {
        return changedCycle;
    }

    public void setChangedCycle(Integer changedCycle) {
        this.changedCycle = changedCycle;
    }

    public String getNextChangedTime() {
        return nextChangedTime;
    }

    public void setNextChangedTime(String nextChangedTime) {
        this.nextChangedTime = nextChangedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAuthorityLevelName() {
        return authorityLevelName;
    }

    public void setAuthorityLevelName(String authorityLevelName) {
        this.authorityLevelName = authorityLevelName;
    }

    public String getCertificateTypeName() {
        return certificateTypeName;
    }

    public void setCertificateTypeName(String certificateTypeName) {
        this.certificateTypeName = certificateTypeName;
    }

    public String getAddUserName() {
        return addUserName;
    }

    public void setAddUserName(String addUserName) {
        this.addUserName = addUserName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getAddDeptName() {
        return addDeptName;
    }

    public void setAddDeptName(String addDeptName) {
        this.addDeptName = addDeptName;
    }

    public List<UserDepartment> getUserDepartmentList() {
        return userDepartmentList;
    }

    public void setUserDepartmentList(List<UserDepartment> userDepartmentList) {
        this.userDepartmentList = userDepartmentList;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Certificate{");
        sb.append("id='").append(id).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append(", remarks='").append(remarks).append('\'');
        sb.append(", delState=").append(delState);
        sb.append(", addUserId='").append(addUserId).append('\'');
        sb.append(", addDeptId='").append(addDeptId).append('\'');
        sb.append(", addTime='").append(addTime).append('\'');
        sb.append(", updateDeptId='").append(updateDeptId).append('\'');
        sb.append(", updateUserId='").append(updateUserId).append('\'');
        sb.append(", updateTime='").append(updateTime).append('\'');
        sb.append(", userId='").append(userId).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", num='").append(num).append('\'');
        sb.append(", issueAuthority='").append(issueAuthority).append('\'');
        sb.append(", authorityLevelId='").append(authorityLevelId).append('\'');
        sb.append(", certificateTypeId='").append(certificateTypeId).append('\'');
        sb.append(", certificateTime='").append(certificateTime).append('\'');
        sb.append(", isReview=").append(isReview);
        sb.append(", reviewCycle=").append(reviewCycle);
        sb.append(", nextReviewTime='").append(nextReviewTime).append('\'');
        sb.append(", isChanged=").append(isChanged);
        sb.append(", changedCycle=").append(changedCycle);
        sb.append(", nextChangedTime='").append(nextChangedTime).append('\'');
        sb.append(", remark='").append(remark).append('\'');
        sb.append(", authorityLevelName='").append(authorityLevelName).append('\'');
        sb.append(", certificateTypeName='").append(certificateTypeName).append('\'');
        sb.append(", addUserName='").append(addUserName).append('\'');
        sb.append(", realName='").append(realName).append('\'');
        sb.append(", userCode='").append(userCode).append('\'');
        sb.append(", postName='").append(postName).append('\'');
        sb.append(", addDeptName='").append(addDeptName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}